package com.example.whever.lacation;

import com.example.whever.common.ApiResponse;
import com.google.gson.annotations.SerializedName;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class LocationApiResponse implements ApiResponse<List<Location>> {
    @SerializedName("status")
    private String responseCode;
    @SerializedName("districts")
    private List<Location> data;
    @SerializedName("count")
    private int count;
}
